#ifndef __COLA_H__
#define __COLA_H__

#include <omnetpp.h>

/**
 * TODO - Generated class
 */
class Cola : public cSimpleModule{
 public:
	Cola();
	virtual ~Cola();
    virtual void siguienteTurno();
    virtual void finish();
 protected:
    virtual void initialize();
    virtual void handleMessage(cMessage *msg);
    virtual int servidoresDisponibles();
  private:
    int cantidadServidores;
  	cQueue colaConductores;
  	double lq;
  	double longAux;
  	simtime_t t1;
  	simtime_t t2;
  	bool d;
};

#endif
